package kgame5.kgfw.gbook {
import flash.display.MovieClip;
import flash.events.EventDispatcher;

/**
 * @author kangkai
 * 游戏的一个页面
 */
public class PageComp extends EventDispatcher{
	
	public static const 
		EVENTTYPE_AFTER_CREATE:String="EVENTTYPE_AFTER_CREATE",//创建完毕
		EVENTTYPE_AFTER_RELEASE:String="EVENTTYPE_AFTER_RELEASE";//释放完毕
	
	protected var mc:MovieClip;
	private var pageID:int=-1;
	public function PageComp(id:int,p_mc:MovieClip){
		pageID=id;
		mc=p_mc;
		
		//底面的mc_BGMark只是一个标志，标志区域用的，不用显示
		//mc.mc_BGMark.visible=false;
	}
	public function getID():int{
		return pageID;
	}
	public function getMC():MovieClip{
		return mc;
	}
	public function onCreate():void{};
	public function onRelease():void{};
}//end of class
}
